<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>商机管理</title>
    <link rel="icon" href="favicon.ico" type="images/ico">
    <meta name="author" content="dc">
    <link rel="stylesheet" type="text/css" href="/css/materialdesignicons.min.css">
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/css/style.min.css">
    <link href="/js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/js/jquery-confirm/jquery-confirm.min.css"/>
    <!--时间选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.css"/>
    <!--日期选择插件-->
    <link rel="stylesheet" href="/js/bootstrap-datepicker/bootstrap-datepicker3.min.css"/>
    <link rel="stylesheet" href="/css/skin.css"/>
    <link rel="stylesheet" href="/css/customerManager/user/myCustomerPool.css"/>

</head>
<body>
<div class="container-fluid customer-page">
    <div class="card">
        <div class="card-header">
            <h1>商机列表</h1>
        </div>
        <div class="card-body">
            <div class="row content-action">
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <!-- 全部 本周 本月 -->
                    <div class="time-search pull-left">
                        <input type="hidden" id="dateType" name="dateType"/>
                        <div class="all active-second" onclick="selectTime('all')">全部</div>
                        <div class="week" onclick="selectTime('week')">本周</div>
                        <div class="month" onclick="selectTime('month')">本月</div>
                    </div>
                </div>
                <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
                    <div class="pull-right">
                        <div class="min-search pull-left">
                            <input class="form-control" type="text" placeholder="请输入客户名称" id="customerNameMin" name="customerNameMin" autocomplete="off">
                            <button class="btn btn-primary" type="button" onclick="searchMyCustomerPool(1)" ><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                        </div>
                        <button class="btn btn-default btn-senior" data-toggle="collapse" data-target="#filterContent" aria-expanded="false" aria-controls="filterContent"><i class="mdi mdi-sort-variant"></i>高级筛选
                        </button>
                    </div>
                </div>
            </div>
            <div class="collapse filter-content" id="filterContent">
                <div class="row">
                    <div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-12">
                        <label for="customerName">客户名称</label>
                        <div>
                            <input class="form-control" type="text" placeholder="请输入客户名称" id="customerName" name="customerName" autocomplete="off">
                        </div>
                    </div>
                    <div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-6">
                        <label for="opportunityStatus">商机状态</label>
                        <div>
                            <select class="form-control" id="opportunityStatus" type="text" title="请选择">
                                <option value="">请选择</option>
                                <option value="1">初步洽谈</option>
                                <option value="2">需求确定</option>
                                <option value="3">方案报价</option>
                                <option value="4">谈判</option>
                                <option value="5">洽谈合同</option>
                                <option value="6">赢单</option>
                                <option value="7">输单</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-6">
                        <label for="opportunityStatus">商机状态</label>
                        <div>
                            <select class="form-control" id="opportunityTp" type="text" title="请选择">
                                <option value="">请选择</option>
                                <option value="1">续费</option>
                                <option value="2">新会员</option>
                                <option value="3">单次</option>
                                <option value="4">证书</option>
                                <option value="5">线上单品</option>
                                <option value="6">高端班</option>
                                <option value="7">内训</option>
                                <option value="8">咨询</option>
                                <option value="9">组合</option>
                                <option value="10">行业会</option>
                                <option value="11">其他</option>
                            </select>
                        </div>
                    </div>
                    <!--<div class="form-group col-lg-3 col-md-3 col-sm-4 col-xs-6">
                        <label for="estimatedSigningTime">预计签约时间</label>
                        <div>
                            <input class="form-control" type="text" placeholder="请输入预计签约时间" id="estimatedSigningTime" name="estimatedSigningTime">
                        </div>
                    </div>-->
                    <div class="form-group col-lg-3 col-md-3 col-sm-12 col-xs-6">
                        <label class="hidden-sm hidden-xs">&nbsp;</label>
                        <div class="text-right">
                            <button class="btn btn-primary" type="button" onclick="searchMyCustomerPool(2)"><i class="mdi mdi-magnify"></i><span>搜索</span></button>
                            <button class="btn btn-default" onclick="resetSearch(this)">重置</button>
                        </div>
                    </div>
                </div>
            </div>
            <table id="opportunityInfo"></table>
        </div>
    </div>

</div>
</body>
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/perfect-scrollbar.min.js"></script>
<!--标签插件-->
<script src="/js/jquery-tags-input/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="/js/main.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table.min.js"></script>
<script type="text/javascript" src="/js/bootstrap-table/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/jquery.cookie.min.js"></script>
<script src="/js/crm/common/common.js"></script>
<!--时间选择插件-->
<script src="/js/bootstrap-datetimepicker/moment.min.js"></script>
<script src="/js/jquery-confirm/jquery-confirm.min.js"></script>
<script src="/js/bootstrap-datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script src="/js/bootstrap-datetimepicker/locale/zh-cn.js"></script>
<!--日期选择插件-->
<script src="/js/bootstrap-datepicker/bootstrap-datepicker.min.js"></script>
<script src="/js/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js"></script>
<!-- 图表 -->
<script type="text/javascript" src="/js/echarts.min.js"></script>
<!-- 子页面公用js -->
<script src="/js/crm/common/pageCommon.js"></script>
<script src="/js/crm/opportunityManager/opportunityForm.js"></script>
</html>